/**
 * 小程序配置文件
 */
// const domain = "applet.taosf.xyz/answer-api"
const baseUrl = "https://www.fengxinmei.cn"
//const baseUrl = "https://127.0.0.1:8081"

module.exports = {
  options: {
    // 是否显示题目动画
    qTitleAnimation: false,
  },
  Keys: {
    RULES: 'RULES',
    GAME_LEVEL: 'GAME_LEVEL',
    GROUP_PLAYERS: 'GROUP_PLAYERS',
    SETTING_RECV_MESSAGE: 'SETTING_RECV_MESSAGE',
    SETTING_GAME_VOICE: 'SETTING_GAME_VOICE',
  },
  service: {
    appId: 'wxacbc0b082e40d09b',
    loginUrl: `${baseUrl}/we-chart/login`,
    questionRuleUrl: `${baseUrl}/question/rule`,
    questionInitUrl:  `${baseUrl}/question/init`,
    questionChallengeUrl: `${baseUrl}/question/challenge`,
    questionIntegralUrl: `${baseUrl}/question/integral`,
    questionNextUrl: `${baseUrl}/question/next`,
    questionUpdateUrl: `${baseUrl}/question/update`,
    recordInsertUrl: `${baseUrl}/record/insert`,
    sendUserInfoUrl: `${baseUrl}/user/insert`,
    // wsUrl: `ws://taosf.xyz:20001/answer-api/websocket`,
    wsUrl: `wss://dati.beyond-itservice.com:8080/answer-api/websocket`,
    userUrl: `${baseUrl}/user/info`,
    integralUrl: `${baseUrl}/user/info`,
    integralUpdateUrl: `${baseUrl}/user/update`,
    signCountUrl: `${baseUrl}/sign/count`,
    errorUrl: `${baseUrl}/error/list`,
    errorQueryUrl: `${baseUrl}/error/query`,
    noticeUrl: `${baseUrl}/notice/list`,
    rankUrl:  `${baseUrl}/rank/list`,
    infoUrl:  `${baseUrl}/user/headInfo`
  },
};